projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c9f64
)
Let OSM "build" when expat isn't available.
author
robertl
<robertl>
Sat, 27 Jun 2009 04:53:21 +0000
(
04:53
+0000)
committer
robertl
<robertl>
Sat, 27 Jun 2009 04:53:21 +0000
(
04:53
+0000)
osm.c
patch
|
blob
|
history
diff --git
a/osm.c
b/osm.c
index 7ef5c4f4cd63d4b4f933b705e2426a26bd87a60a..ec42113d78131fe549b8ce056d1d88794b8ebc9c 100644
(file)
--- a/
osm.c
+++ b/
osm.c
@@
-44,9
+44,10
@@
static avltree_t *icons = NULL;
static gbfile *fout;
static int node_id;
-static route_head *rte;
static int skip_rte;
+#if HAVE_LIBEXPAT
+static route_head *rte;
static waypoint *wpt;
static int wpt_loaded, rte_loaded;
@@
-64,6
+65,7
@@
xg_tag_mapping osm_map[] = {
{ osm_way_end, cb_end, "/osm/way" },
{ NULL, 0, NULL }
};
+#endif // HAVE_LIBEXPAT
static const char *osm_features[] = {
"- dummy -", /* 0 */